package com.xxadmin.common.constant;

public enum ResponseCommonEnum implements ResponseEnum {

    SUCCESS("000000", "处理成功"),
    PARAM_ILLAGE("000091","参数错误")

    ;

    private String code;

    private String message;

    ResponseCommonEnum(String code, String message) {

        this.code = code;
        this.message = message;
    }

    @Override
    public String getCode() {
        return code;
    }

    public void setCode(String code) {

        this.code = code;
    }

    @Override
    public String getMessage() {
        return message;
    }

    public void setMessage(String message) {

        this.message = message;
    }
}
